<?php 

namespace App\Models\Power;

use App\Models\Base\PowerBase;

class Operate extends PowerBase {

    protected $table = 'cdz_operate';

    protected $fillable = [];

    protected $dates = [];

    public static $rules = [
        // Validation rules
    ];

    /**
     * 和Commission模型的一对一关联
     */
    public function commission()
    {
        return $this->hasOne('App\Models\Power\Commission', 'id', 'commission_id');
    }

}
